package com.zbf.jichu;

import java.lang.reflect.Array;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/11  9:14
 * 描述: 基础测试类
 */
public class TestJichu {

    public static void main(String[] args) {

        // ArrayLIst  LinkedList   Vector  CopyOnWriteArralist

        ArrayList list=new ArrayList();

        list.add("1");
        list.add("2");
        list.add("3");
        list.add("4");

        /*for (Object o : list) {
            System.out.println("------>"+o);
            list.remove(o);
        }*/

       /* for (int i=list.size()-1;i>=0;i--){
            System.out.println("------->"+list.get(i));
            list.remove(i);
        }*/

        CopyOnWriteArrayList copyOnWriteArrayList=new CopyOnWriteArrayList();

        LinkedList linkedList=new LinkedList();


        Map map=new HashMap();


        ConcurrentHashMap concurrentHashMap=new ConcurrentHashMap();

        //TreeMap

    }
}
